//
//  pvm_parser.h
//  
//
//  Created by Pei Liu on 10/25/11.
//  Copyright 2011 George Mason University. All rights reserved.
//

#ifndef _pvm_parser_h
#define _pvm_parser_h

#include "stdio.h"
#include "stdlib.h"
#include "hashtable.h"
#include "pvm_opcode.h"
#include "parser.h"
#include "dynamic_array.h"


HASHTBL* symboltbl;
/*Next avaliable counter*/
int memocounter = 510;
/*formal counter*/
int formalcounter = 0;
/*local variable counter*/
int lvcounter = 0;
/*procedure counter*/
int procounter[4] = {0};
/*current procdure*/
int cur_proc = 0;
/*code store*/
d_array* cs;
/*current code store*/
int cur_cs = 0;
/*file input*/
extern FILE *yyin;
/*yyerror*/
int yyerror();

#endif
